#ifndef OCL_CHUNK_INCLUDED
#define OCL_CHUNK_INCLUDED 1


#include "../ocl/types.h"

typedef struct ocl_chunk_
{
	struct ocl_chunk_ *next;
	struct ocl_chunk_ *prev;
	char              *data;
	size_t             size;
} ocl_chunk;

ocl_chunk *ocl_chunk_create( size_t size );
void       ocl_chunk_delete( ocl_chunk *chunk );
int        ocl_chunk_write( const ocl_chunk *chunk, FILE *fp );




#endif
